/**
 * 
 */
package org.springside.examples.miniweb.dao.report;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;
import org.springside.examples.miniweb.entity.report.CompressorReport;

/**
 * @author Eric 2012-3-6
 * 
 * @since 6.0
 * 
 */
public interface CompReportDao extends PagingAndSortingRepository<CompressorReport, Long> {
	
	public CompressorReport findById(Long id);
	
	public List<CompressorReport> findByAssignedUser(String assignedUser);
	
	public List<CompressorReport> findByCustomerName(String customerName);

}
